package com.silent.socktest;

import com.baidu.stest.R;

import android.app.Activity;
import android.os.Bundle;

/** This activity is run on Android devices as socket server **/
public class ServerActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        SocketServer server = new SocketServer(3389);
        server.beginListen();
    }
}